Copying, cutting, pasting ST-code
How to copy code in the ST-editor onto the clipboard of the operating system:
-
Select the code that you want to copy.
-
In menu Edit or from the context menu of the ST-editor, select Copy. Alternative: Press Ctrl+C.
How to move code in the ST-editor onto the clipboard of the operating system:
-
Select the code that you want to move.
-
In menu Edit or from the context menu of the ST-editor, select Cut. Alternative: Press Ctrl+X.
How to paste text from the clipboard of the operating system to the ST-editor:
-
Go to the position in the ST-editor where you want to paste the text.
-
In menu Edit or from the context menu of the ST-editor, select Paste. Alternative: Press Ctrl+V.
Use the command Copy qualified name (in menu Edit or from the context menu of the editor) in order to qualified name of the selected element onto the clipboard.
-
Example 1: If you select the command when you are have selected variable
count
in programTimer
within an ST-object,Timer.count
will be copied onto the clipboard. -
Example 2: If you select the command when you are have selected element
DefaultTask
within the PLC-objectlocal
,LocalConfiguration.local.DefaultTask
will be copied onto the clipboard.